//! 指纹识别模块主文件
//! 提供Web技术栈识别功能

use anyhow::Result;

// 从上层目录导入mod.rs中定义的公共接口
use super::{FingerprintCoreEngine, FingerprintRule, FingerprintInfo, FingerprintCondition, FingerprintResult, ResponseInfo, FingerprintEnginePlugin};

/// 创建一个默认配置的指纹识别引擎实例
pub fn create_fingerprint_engine() -> Result<FingerprintEnginePlugin> {
    let engine = FingerprintEnginePlugin::new()?
        .with_timeout(5)
        .with_workers(5);
    Ok(engine)
}